home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection Student Program / ADC Tools Sampler CD Disk 3 1999.iso / Metrowerks CodeWarrior / Java Support / Java_Source / Java2 / src / java / io / IOException.java < prev    next >
Encoding:
Java Source  |  1999-05-28  |  1.4 KB  |  50 lines  |  [TEXT/CWIE]

  1. /*
  2.  * @(#)IOException.java    1.17 98/06/29
  3.  *
  4.  * Copyright 1994-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  *
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.io;
  16.  
  17. /**
  18.  * Signals that an I/O exception of some sort has occurred. This
  19.  * class is the general class of exceptions produced by failed or
  20.  * interrupted I/O operations.
  21.  *
  22.  * @author  unascribed
  23.  * @version 1.17, 06/29/98
  24.  * @see     java.io.InputStream
  25.  * @see     java.io.OutputStream
  26.  * @since   JDK1.0
  27.  */
  28. public
  29. class IOException extends Exception {
  30.     /**
  31.      * Constructs an <code>IOException</code> with <code>null</code>
  32.      * as its error detail message.
  33.      */
  34.     public IOException() {
  35.     super();
  36.     }
  37.  
  38.     /**
  39.      * Constructs an <code>IOException</code> with the specified detail
  40.      * message. The error message string <code>s</code> can later be
  41.      * retrieved by the <code>{@link java.lang.Throwable#getMessage}</code>
  42.      * method of class <code>java.lang.Throwable</code>.
  43.      *
  44.      * @param   s   the detail message.
  45.      */
  46.     public IOException(String s) {
  47.     super(s);
  48.     }
  49. }
  50.